@echo off
@REM set BUILD_NAME="latex"
set BUILD_NAME="cpp"
@REM set BUILD_NAME="python"

if %BUILD_NAME%=="latex" (
    cd latexcode
    xelatex main.tex
) else if %BUILD_NAME%=="cpp" (
    cd build
    @REM cmake .. -G "MinGW Makefiles"
    mingw32-make
    sim.exe
    @REM cd ../pythoncode
    @REM python plot.py
) else if %BUILD_NAME%=="python" (
    python ./pythoncode/calc2.py
)
